package com.duobaoyu.dby.supply.biz.client.resource;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.duobaoyu.dby.supply.biz.client.resource.bean.dto.ChannelRuleConfigBizDTO;
import com.duobaoyu.dby.supply.biz.client.resource.bean.dto.ChannelRuleConfigQueryBizDTO;
import com.duobaoyu.dby.supply.biz.client.resource.bean.dto.ScriptDebugBizDTO;
import com.duobaoyu.dby.supply.biz.client.resource.bean.vo.ChannelRuleConfigVO;

import java.util.List;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName ResourceChannelRuleConfigAdminClient
 * @Description 渠道规则admin client
 * @createTime 13:55:00 2023/10/08
 */
public interface ResourceChannelRuleConfigAdminClient {

    boolean createRuleConfig(ChannelRuleConfigBizDTO channelRuleConfig);

    boolean updateRuleConfig(ChannelRuleConfigBizDTO channelRuleConfig);

    boolean deleteRuleConfig(List<Long> channelRuleConfigIds);

    Page<ChannelRuleConfigVO> channelRuleConfigPage(ChannelRuleConfigQueryBizDTO channelRuleConfig);

    Object scriptDebug(ScriptDebugBizDTO scriptDebug);
}
